<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        body{
            background: #000;
            perspective: 800px;
            /* perspective-origin: center center; */
        }
        .box{
            width: 120px;
            margin: 200px auto;
            position: relative;
            transform-style: preserve-3d;
            transform:rotateX(-20deg);
            animation:dohua  5s  linear 0s infinite;
        }
        .box:hover{
            animation-play-state: paused;
        }
        .box img{
            position: absolute;
            top: 0px;
            width: 120px;
            -webkit-box-reflect: below 0 linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
        }
        .box img:nth-child(1){
            transform: rotateY(40deg) translateZ(300px);
        }
        .box img:nth-child(2){
            transform: rotateY(80deg) translateZ(300px);
        }
        .box img:nth-child(3){
            transform: rotateY(120deg) translateZ(300px);
        }
        .box img:nth-child(4){
            transform: rotateY(160deg) translateZ(300px);
        }
        .box img:nth-child(5){
            transform: rotateY(200deg) translateZ(300px);
        }
        .box img:nth-child(6){
            transform: rotateY(240deg) translateZ(300px);
        }
        .box img:nth-child(7){
            transform: rotateY(280deg) translateZ(300px);
        }
        .box img:nth-child(8){
            transform: rotateY(320deg) translateZ(300px);
        }
        .box img:nth-child(9){
            transform: rotateY(360deg) translateZ(300px);
        }

        @keyframes dohua{
        from{
            transform:rotateX(-20deg) rotateY(0deg);
        }
        to{
            transform:rotateX(-20deg) rotateY(360deg);
        }
    }
    </style>
<body>
    <div class="box">
        <img src="./images/1.jpg" alt="">
        <img src="./images/2.jpg" alt="">
        <img src="./images/3.jpg" alt="">
        <img src="./images/4.jpg" alt="">
        <img src="./images/5.jpg" alt="">
        <img src="./images/6.jpg" alt="">
        <img src="./images/7.jpg" alt="">
        <img src="./images/8.jpg" alt="">
        <img src="./images/9.jpg" alt="">
    </div>
</body>
</html>